<?php

namespace App\Models\Invoice;

use App\Models\BaseModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;

class InvoiceHistoryBusinessRelModel extends BaseModel
{
    use HasFactory;

    protected $table = "invoice_history_business_rel";

    /**
     * @return mixed|null
     */
    public function getBusinessDetail()
    {
        return jsonToArr($this->businessDetail ?? "", []);
    }
}
